<?php

namespace App\Model;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

class Student extends Model
{
    use SoftDeletes;

    protected $table = 'sf_student';
    public $timestamps = false;
    // protected $guarded = ['_method', 'type']; // 黑名单
    protected $fillable = [
        'wx_openid', 'wx_nickname', 'wx_avatar', 'name', 'password', 'salt', 'token', 'class_id', 'sex', 'phone', 'provice', 'city', 'county', 'now_status', 'school', 'major', 'education', 'pre_career', 'is_base', 'other_name', 'other_phone', 'other_relation', 'remarks',
        'fee_status', 'status', 'receivable_fee', 'receipts_fee', 'employment_unit', 'salary', 'source', 'created_time', 'updated_time',
    ]; // 白名单

    protected $attributes = [
        'status' => 0,
    ]; // 默认属性
}
